Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

285
Views
How to disable ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'" in docker

I am building a dockerized (version 20.10.11) application with php7,nginx(1.21) images. I am adding colorbox jquery library for youtube popup.

Upon clicking youtube thumbnail link popup appears but videos not playing. In console errors appears like

Refused to frame 'http://myapp.docker.localhost:8000/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

but it works without any issues in xampp,wamp etc.

How can I disable this restriction in docker?

I am pretty new to docker and nginx.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!